package com.wjv.example.service;

import com.wjv.example.common.entity.ResultInfo;
import org.springframework.stereotype.Component;

/**
 * <p>Title: OrderFeignFallbackService</p>
 * <p>Company:misspao </p>
 *
 * @author: wjv
 * @Date: Create in 13:26 2020/9/28
 * @Description:
 */
@Component
public class OrderFeignFallbackServiceImpl implements OrderFeignService{
    @Override
    public ResultInfo get(int id) {
        return ResultInfo.error("----OrderFeignFallbackServiceImpl.get() 的后备方法");
    }

    @Override
    public ResultInfo get2(int id) {
        return ResultInfo.error("----OrderFeignFallbackServiceImpl.get2() 的后备方法");
    }
}
